package com.red.service;

import com.red.entity.House;

import java.util.List;

public interface HouseService {
    public House[] getRandomHouses(int size);

    public House[] getHouses(int size, int page);

    public House[] getHouses(int size, int page, String[] status);

    public House getHouse(int house_id);

    public int getSize(String[] status);

    public boolean addHouse(House house);

    public int deleteHouse(List<Integer> ids);

    public boolean updateHouse(House house);
}
